#include "cocos2d.h"
#pragma once
class SpriteScene : public cocos2d::CCScene
{
public:
	CREATE_FUNC(SpriteScene);
public:
	virtual bool init();

	cocos2d::CCScene * scene();
	void menuCallbackGoBack(cocos2d::CCObject * pSender);
	void menuCallbackPreSpriteTest(cocos2d::CCObject * pSender);
	void menuCallbackNextSpriteTest(cocos2d::CCObject * pSender);
private:

	void showTest();

	cocos2d::CCLayer * rootLayer;
	cocos2d::CCLayer * testLayer;
	int curTestIndex;
};



class TouchAddSprite: public cocos2d::CCLayer
{
public:
	TouchAddSprite();	
	void ccTouchesEnded(cocos2d::CCSet* touches, cocos2d::CCEvent* event);

private:
	cocos2d::CCSprite *testMoveSprite;
};
